home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 3 / Amiga Format CD03 (1996-07-04)(Future Publishing)(GB)(Track 1 of 6)[!][issue 1996-08].iso / comms / netsoftware / nethandler.lha / NetHandler / handler / makefile < prev    next >
Makefile  |  1989-09-16  |  2KB  |  64 lines

  1.  
  2. #DEBUG  = -dDEBUG=1
  3. DEBUG =
  4.  
  5. #LIBS   = lib:lc.lib lib:amiga.lib define _SysBase = _AbsExecBase
  6. LIBS   = lib:lc.lib lib:amiga.lib define _SysBase = 4
  7.  
  8. LC1FLAGS = -cwusf -b -d $(DEBUG) -i/
  9. LC2FLAGS = -v
  10.  
  11. netdnet-handler:  netdnet-handler.d
  12.    @blink from $+ to $@ nodebug
  13.  
  14. netser-handler:  netser-handler.d
  15.    @blink from $+ to $@ nodebug
  16.  
  17. netpar-handler:  netpar-handler.d
  18.    @blink from $+ to $@ nodebug
  19.  
  20. netsing-handler:  netsing-handler.d
  21.    @blink from $+ to $@ nodebug
  22.  
  23. netdnet-handler.d:  main.o /subs.o file.o dir.o io.o lock.o process.o\
  24.                   /sendpkt.o volume.o device.o /request.o mount.o devio.o\
  25.                   netdnet.o /iodnet.o /dnetlib.o /debug.o /timer.o
  26.   @echo >ram:tmp.with "from $+"
  27.   @assign blinkwith:
  28.   @blink with ram:tmp.with SC SD VERBOSE BATCH to $@ lib $(LIBS)\
  29.          map netdnet-handler.map hx
  30.   @protect $@ -e
  31.  
  32. netsing-handler.d:  main.o /subs.o file.o dir.o io.o lock.o process.o\
  33.                   /sendpkt.o volume.o device.o /request.o mount.o devio.o\
  34.                   netsing.o iosing.o /debug.o /timer.o
  35.   @echo >ram:tmp.with "from $+"
  36.   @assign blinkwith:
  37.   @blink with ram:tmp.with SC SD VERBOSE BATCH to $@ lib $(LIBS)
  38.   @protect $@ -e
  39.  
  40. netser-handler.d:  main.o /subs.o file.o dir.o io.o lock.o process.o \
  41.                  /sendpkt.o volume.o device.o /request.o mount.o devio.o\
  42.                  netser.o /ioser.o /debug.o /timer.o
  43.   @echo >ram:tmp.with "from $+"
  44.   @assign blinkwith:
  45.   @blink with ram:tmp.with SC SD VERBOSE BATCH to $@ lib $(LIBS)
  46.   @protect $@ -e
  47.  
  48. netpar-handler.d:  main.o /subs.o file.o dir.o io.o lock.o process.o \
  49.                  /sendpkt.o volume.o device.o /request.o mount.o devio.o\
  50.                  netpar.o /iopar.o /debug.o /timer.o
  51.   @echo >ram:tmp.with "from $+"
  52.   @assign blinkwith:
  53.   @blink with ram:tmp.with SC SD VERBOSE BATCH to $@ lib $(LIBS)
  54.   @protect $@ -e
  55.  
  56. main.o : main.c handler.h /netcomm.h
  57.  @echo "Compiling $<"
  58.  @lc1 -. $(LC1FLAGS) -oram:temp.q $<
  59.  @lc2 -. $(LC2FLAGS) -y -o$@ ram:temp.q
  60.  
  61. /dnetlib.o : /dnetlib.c
  62.  @echo "Compiling $<"
  63.  @lc1 -. $(LC1FLAGS) -oram:temp.q $<
  64.  @lc2 -. $(LC2FLAGS) -y -o$@ ram:temp.q